﻿#pragma once


#define DXUT_CONTROL_IMAGEBUTTON	10	 

class WPENGIN_API CDXUTImageButton :public CDXUTButton
{
public:
	CDXUTImageButton(RECT rtClick,RECT rtOver,const LPTSTR	pszClickTexture,const LPTSTR	pszOverTexture ,CSound * pClickSound,CSound * pMouseOverSound, CDXUTDialog* pDialog);
	~CDXUTImageButton(void);
	void AddToDialog(int x, int y,int widht,int hegiht,int ID,CDXUTDialog* pDialog);
	virtual void Render( float fElapsedTime );
	CSound * m_pClickSound;
	CSound * m_pMouseOverSound;
};

